<?
//引入所有子系统信息
include_once("../../../common/model/extender_import.php");




$unit=select_one_line_all_items($table_prefix."unit","nid='".$_SESSION['nid']."'");

$limit_day=date("Y-m-d",strtotime("+10 day"));

//查询临近到期的联系人，自己所属
$member_contact=select_lines_all_items($table_prefix."case","enddate desc",
                                       "status = '进行中' ",
                                       "5");




//获取你参与的报价
$_quotation=select_lines_all_items($table_prefix."quotation_detail","nid desc","unit_nid = '{$_SESSION['nid']}' group by case_nid","");
$case_nid_array=transform_2darray_in_1darray_number_as_key($_quotation,"case_nid");
$case_nid_str=implode("','",$case_nid_array);

$detail=select_lines_all_items($table_prefix."case","nid desc","nid in ('{$case_nid_str}')","");
?>








